package com.hthy.futures.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by SAM on 2017/5/10.
 */

public class AppConfigContext implements Serializable{
    private static final long serialVersionUID =1L;
    /**
     * descriptions : s
     * exch_name : 同南
     * logo_uri : mobile.hthysoft.com/tn.png
     * "download":"http://mobile.hthysoft.com/app/app-release.apk",
     "register": "http://192.168.10.238/register/index.php/Home/Index/register",
     * versionCode
     *
     * server_type : [{"name":"实盘","quote_gate":"116.62.239.233:1013","trade_gate":"116.62.239.233:1015"}]
     */

    private String descriptions;
    private String exch_name;
    private String logo_uri;
    private String register;
    private int version;
    private int versionCode;
    private String download;
    private String AppId;
    private boolean isMarket = true;  // 是否是大盘环境（是否是市场环境）
    private List<ServerTypeBean> server_type;

    public String getDescriptions() {
        return descriptions;
    }

    public void setDescriptions(String descriptions) {
        this.descriptions = descriptions;
    }

    public String getExch_name() {
        return exch_name;
    }

    public void setExch_name(String exch_name) {
        this.exch_name = exch_name;
    }

    public String getLogo_uri() {
        return logo_uri;
    }

    public void setLogo_uri(String logo_uri) {
        this.logo_uri = logo_uri;
    }

    public List<ServerTypeBean> getServer_type() {
        return server_type;
    }

    public void setServer_type(List<ServerTypeBean> server_type) {
        this.server_type = server_type;
    }

    public String getRegister() {
        return register;
    }

    public void setRegister(String register) {
        this.register = register;
    }

    public int getVersion() {
        return version;
    }

    public String getDownload() {
        return download;
    }

    public void setDownload(String download) {
        this.download = download;
    }

    public int getVersionCode() {
        return versionCode;
    }

    public String getAppId() {
        return AppId;
    }

    public boolean isMarket() {
        return isMarket;
    }

    public static class ServerTypeBean implements Serializable{
        /**
         * name : 实盘
         * quote_gate : 116.62.239.233:1013
         * trade_gate : 116.62.239.233:1015
         */

        private String name;
        private String quote_gate;
        private String trade_gate;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getQuote_gate() {
            return quote_gate;
        }

        public void setQuote_gate(String quote_gate) {
            this.quote_gate = quote_gate;
        }

        public String getTrade_gate() {
            return trade_gate;
        }

        public void setTrade_gate(String trade_gate) {
            this.trade_gate = trade_gate;
        }
    }
}
